<#include "head_bus.ftl">
<script>
window.onload=function(){
	$("title").html("我的业务-订单详情");
}
function close_operation()
{

	if(window.document.referrer==""||window.document.referrer==window.location.href)  
	{  
	window.location.href="{dede:type}[field:typelink /]{/dede:type}";  
	}else  
	{  
	window.location.href=window.document.referrer;  
	} 
  
  
}
</script>
<!-- 详情 -->
<div  id="modal-23">
    <div class="modal-dialog modal-870">
        <div class="modal-content plr2">
           <div class="modal-header noborder">
               <!--<a href="javascript:window.opener=null;window.open('','_self');window.close();" class="close" >×</a>-->   
               <a href="#"  class="close" onclick="close_operation()">×</a>   
           </div>
           <div class="modal-body pt0 ">
                <h3 class="title-1"><span>订单信息</span></h3>
                <div class="d-data">
                  <label class="col-sm-2 col-xs-5 ">订单编号：</label>
                  <div class="col-sm-7  col-xs-7 ">${orderinfo.order_num}</div>
                </div> 
                 <div class="d-data">
                  <label class="col-sm-2 col-xs-5 ">订单类型：</label>
                  <div class="col-sm-7  col-xs-7 ">${orderinfo.type}</div>
                </div> 
                 <div class="d-data">
                  <label class="col-sm-2 col-xs-5">提交时间：</label>
                  <div class="col-sm-7  col-xs-7">${orderinfo.create_time}</div>
                </div>  
                <div class="d-data">
                  <label class="col-sm-2 col-xs-5">订单状态：</label>
                  <div class="col-sm-7  col-xs-7">
                     <#if orderinfo.status == 0>
                                                       待审核
                     </#if>
                     <#if orderinfo.status == 1>
                                                       待付款
                     </#if>
                     <#if orderinfo.status == 2>
                                                       已付款
                     </#if>
                     <#if orderinfo.status == 3>
                                                          已生效
                     </#if>
                     <#if orderinfo.status == 7>
                                                          已取消
                     </#if>
                       
                   </div>
                </div>                                        
                <h3 class="title-1"><span>客户信息</span></h3>
                <div class="d-data">
                  <label class="col-sm-2 col-xs-5 ">客户名称：</label>
                  <div class="col-sm-7  col-xs-7 ">${(orderinfo.user_name)!''}</div>
                </div> 
                 <div class="d-data">
                  <label class="col-sm-2 col-xs-5">客户地址：</label>
                  <div class="col-sm-7  col-xs-7">${(orderinfo.user_addr)!''}${(orderinfo.user_addr2)!''}${(orderinfo.user_addr3)!''}</div>
                </div>  
                <div class="d-data">
                  <label class="col-sm-2 col-xs-5">联系电话：</label>
                  <div class="col-sm-7  col-xs-7">${(orderinfo.user_phone)!''}</div>
                </div>  
                <h3 class="title-1"><span>业务信息</span></h3>
                <div class="d-data">
                    <div class="lineWrap">
                          <label class="col-sm-4 col-xs-5 ">计费方式：</label>
                          <div class="col-sm-4  col-xs-7 ">宽带计费</div>
                    </div>
                    <div class="lineWrap">                     
                          <label class="col-sm-4 col-xs-5  line">购买IP：</label>
                          <div class="col-sm-4  col-xs-7 line-1">${(orderinfo.buy_IP)!''}&nbsp;个</div>
                     </div>                     
                </div> 
                 <div class="d-data">
                    <div class="lineWrap">
                       <label class="col-sm-4 ">带宽类型：</label>
                      <div class="col-sm-5 ">
                      	<#if orderinfo.type == "ISP">
                      		<#if orderinfo.ISP_type == 1>
                      			单线
                      		</#if>
                      		<#if orderinfo.ISP_type == 2>
                      			双线
                      		</#if>
                      	</#if>
                      	<#if orderinfo.type == "IDC">
                      		<#if orderinfo.speed_type == 1>
                      			单线
                      		</#if>
                      		<#if orderinfo.speed_type == 2>
                      			双线
                      		</#if>
                       	</#if>
                            </div>
                    </div>

                  <div class="lineWrap">
                       <label class="col-sm-4 ">赠送IP：</label>
                       <div class="col-sm-5 "><font color=red>请与客服人员联系！</font></div> 
                  </div>                 
                </div>  
                 <div class="d-data">
                   <div class="lineWrap"> 
                      <label class="col-sm-4 col-xs-5">带宽：</label>
                      <div class="col-sm-4  col-xs-7">
                          <#if orderinfo.type == "ISP">
                      		${(orderinfo.ISP_speed)!''}&nbsp;M
                      	  </#if>
                      	  <#if orderinfo.type == "IDC">
                      	     ${(orderinfo.IDC_speed)!''}&nbsp;M 
                      	  </#if>
                      </div>
                 </div>
                  <div class="lineWrap">
                      <label class="col-sm-4 col-xs-5  line">时长：</label>
                      <div class="col-sm-4  col-xs-7 line-1">${orderinfo.order_span*12}&nbsp;个月</div> 
                  </div>  
                </div>  
                <#if orderinfo.type == "IDC">
                  <div class="d-data">
                   <div class="lineWrap"> 
                      <label class="col-sm-4 col-xs-5">IDC类型：</label>
                      <div class="col-sm-4  col-xs-7">
                          <#if orderinfo.IDC_type == 0>
                      			机柜
                      	  </#if>
                      	  <#if orderinfo.IDC_type == 1>
                      	     	机架
                      	  </#if>
                      </div>
                 </div>
                  <div class="lineWrap">
                      <label class="col-sm-4 col-xs-5  line">
                      <#if orderinfo.IDC_type == 0>                      
                      	尺寸：
                      </#if>
                      <#if orderinfo.IDC_type == 1>                      
                      	数量：
                      </#if>
                       </label>
                      <div class="col-sm-4  col-xs-7 line-1">
                         <#if orderinfo.IDC_type == 0>                   
                             ${orderinfo.jigui_type}
                         </#if>
                         <#if orderinfo.IDC_type == 1>                   
                             ${orderinfo.jijia_count}&nbsp;U
                         </#if>
                       </div> 
                  </div>  
                </div>                        
                </#if>
                <hr>
                 <div class="d-data">
                  <label class="col-sm-2 col-xs-5 f16">订单价格：</label>
                  <div class="col-sm-7  col-xs-7"><em class="colC f25 fb">${orderinfo.cost_money}</em> &nbsp;元</div>
                </div>           
                <div class="form-group">
                    <div class="text-center">
                        <a  href="#" onclick="close_operation()" >关闭</a>
                    </div>
                </div> 
           </div>
        </div>
    </div>
</div>

<#include "foot_bus.ftl">